package com.uphone.kingmall.bean;

import com.uphone.kingmall.base.BaseBean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/26
 *     desc   :
 * </pre>
 */
public class GoodCommentsBean extends BaseBean<GoodCommentsBean.DataBean> {

    /**
     * current : 1
     * pages : 1
     * data : [{"userName":"王者","commId":1,"userPhoto":"http://localhost:8082/upload/images/photo/412a2903a088491086b748c287518bca.jpg","commentTime":"2019-01-31 11:14:37","commentContent":"好评","goodsSpec":"","buyTime":"2019-01-31 11:14:40","imgs":[{"id":1,"img":"http://localhost:8082/upload/images/shop/0d3c3f65bfa44b1282e3dfd4334620bc.jpg"},{"id":5,"img":"http://localhost:8082/upload/images/shop/0d3c3f65bfa44b1282e3dfd4334620bc.jpg"},{"id":16,"img":"http://localhost:8082/upload/images/comment/24bc95422a14470eb2081178aca4da6e.jpg"},{"id":17,"img":"http://localhost:8082/upload/images/comment/d074bfe890a44852bc553a2c7f46ceed.jpg"}]},{"userName":"王者","commId":6,"userPhoto":"http://localhost:8082/upload/images/photo/412a2903a088491086b748c287518bca.jpg","commentTime":"2019-02-27 14:45:53","commentContent":"好评","goodsSpec":"300 ","imgs":[]}]
     * count : 2
     * limit : 4
     */

    private int current;
    private int pages;
    private int count;
    private int limit;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public static class DataBean extends BaseBean.DataBean {
        /**
         * userName : 王者
         * commId : 1
         * userPhoto : http://localhost:8082/upload/images/photo/412a2903a088491086b748c287518bca.jpg
         * commentTime : 2019-01-31 11:14:37
         * commentContent : 好评
         * goodsSpec :
         * buyTime : 2019-01-31 11:14:40
         * imgs : [{"id":1,"img":"http://localhost:8082/upload/images/shop/0d3c3f65bfa44b1282e3dfd4334620bc.jpg"},{"id":5,"img":"http://localhost:8082/upload/images/shop/0d3c3f65bfa44b1282e3dfd4334620bc.jpg"},{"id":16,"img":"http://localhost:8082/upload/images/comment/24bc95422a14470eb2081178aca4da6e.jpg"},{"id":17,"img":"http://localhost:8082/upload/images/comment/d074bfe890a44852bc553a2c7f46ceed.jpg"}]
         */

        private String userName;
        private int commId;
        private String userPhoto;
        private String commentTime;
        private String commentContent;
        private String goodsSpec;
        private String buyTime;
        private List<ImgsBean> imgs;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getCommId() {
            return commId;
        }

        public void setCommId(int commId) {
            this.commId = commId;
        }

        public String getUserPhoto() {
            return userPhoto;
        }

        public void setUserPhoto(String userPhoto) {
            this.userPhoto = userPhoto;
        }

        public String getCommentTime() {
            return commentTime;
        }

        public void setCommentTime(String commentTime) {
            this.commentTime = commentTime;
        }

        public String getCommentContent() {
            return commentContent;
        }

        public void setCommentContent(String commentContent) {
            this.commentContent = commentContent;
        }

        public String getGoodsSpec() {
            return goodsSpec;
        }

        public void setGoodsSpec(String goodsSpec) {
            this.goodsSpec = goodsSpec;
        }

        public String getBuyTime() {
            return buyTime;
        }

        public void setBuyTime(String buyTime) {
            this.buyTime = buyTime;
        }

        public List<ImgsBean> getImgs() {
            return imgs;
        }

        public void setImgs(List<ImgsBean> imgs) {
            this.imgs = imgs;
        }

        public static class ImgsBean {
            /**
             * id : 1
             * img : http://localhost:8082/upload/images/shop/0d3c3f65bfa44b1282e3dfd4334620bc.jpg
             */

            private int id;
            private String img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }
    }
}
